// $Id: WorkitemPackage.java 81 2012-01-04 22:16:48Z huijzer@gmail.com $
package lime.model;

public class WorkitemPackage extends RepositoryObject implements Comparable<WorkitemPackage> {

	private String name;
	private String type;
	private String componentId;
	private String componentName;

	public WorkitemPackage(String objectId) {
		super(objectId);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getComponentId() {
		return componentId;
	}

	public void setComponentId(String componentId) {
		this.componentId = componentId;
	}

	public String getComponentName() {
		return componentName;
	}

	public void setComponentName(String componentName) {
		this.componentName = componentName;
	}

	@Override
	public int compareTo(WorkitemPackage workitemPackage) {
		return this.getName().compareTo(workitemPackage.getName());
	}
}
